package com.ruoyi.qiushi.mapper.followup;

import com.ruoyi.qiushi.domain.followup.QiushiFollowRecord;

import java.util.List;

/**
 * 随访记录Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-20
 */
public interface QiushiFollowRecordMapper {
    /**
     * 查询随访记录
     *
     * @param id 随访记录主键
     * @return 随访记录
     */
    public QiushiFollowRecord selectQiushiFollowRecordById(Long id);

    /**
     * 查询随访记录列表
     *
     * @param qiushiFollowRecord 随访记录
     * @return 随访记录集合
     */
    public List<QiushiFollowRecord> selectQiushiFollowRecordList(QiushiFollowRecord qiushiFollowRecord);

    /**
     * 新增随访记录
     *
     * @param qiushiFollowRecord 随访记录
     * @return 结果
     */
    public int insertQiushiFollowRecord(QiushiFollowRecord qiushiFollowRecord);

    /**
     * 修改随访记录
     *
     * @param qiushiFollowRecord 随访记录
     * @return 结果
     */
    public int updateQiushiFollowRecord(QiushiFollowRecord qiushiFollowRecord);

    /**
     * 删除随访记录
     *
     * @param id 随访记录主键
     * @return 结果
     */
    public int deleteQiushiFollowRecordById(Long id);

    /**
     * 批量删除随访记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteQiushiFollowRecordByIds(Long[] ids);
}
